/***************************************************************************
 * Pcf8574C.nc
 *
 * (c) 2007 Lehrstuhl fuer Kommunikationsnetze, TU Muenchen
 *
 * Driver interface for the LKN Wireless Networks Custom Sensor Board. For
 * details, please refer to the appropriate product data sheets.
 *
 * Module implementation: see SBoardM.nc
 * 
 * Provides an interface with low level functions for accessing the I2C
 * integrated control circuits as well as high level functions. Please refer to
 * the documentation of the LKN Wireless Networks Custom Sensor Board.
 **************************************************************************/

configuration SBoardC
{
	provides interface SBoard;
	uses event void readDoneIO( uint8_t );
	uses event void readDoneADC( uint8_t, double );
}

implementation
{
	components SBoardM;
//	components new Atm128I2CMasterC() as Atm128I2CMasterC;

	components new TimerMilliC() as StepperTimer;
	
	SBoard	  =  SBoardM;

//	SBoardM.I2CResource  -> Atm128I2CMasterC;
//	SBoardM.I2CPacket    -> Atm128I2CMasterC;

	SBoardM.StepperTimer -> StepperTimer;
}

